package com.ruoyi.project.system.lotto.mapper;

import com.ruoyi.project.system.lotto.domain.Rewards;
import com.ruoyi.project.system.lotto.domain.RewardsExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface RewardsMapper {
    long countByExample(RewardsExample example);

    int deleteByExample(RewardsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Rewards record);

    int insertSelective(Rewards record);

    List<Rewards> selectByExample(RewardsExample example);

    Rewards selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Rewards record, @Param("example") RewardsExample example);

    int updateByExample(@Param("record") Rewards record, @Param("example") RewardsExample example);

    int updateByPrimaryKeySelective(Rewards record);

    int updateByPrimaryKey(Rewards record);

    List<Rewards> getList();
}